//用户模块的请求api
import axios from '../utils/axiosInstance.js'

//删除小节
export const delSections=(params)=>{
    return axios({
            url:`/api/sections/del`,
            params
          })
}
//修改小节的收费状态
export const updateSections=(params)=>{
    return axios({
        url:`/api/sections/update`,
        params
    })
}
//根据id查询小节信息
export const querySectionsById=(id)=>{
    return axios({
        url:`/api/sections/${id}`,
    })
}
